package com.eat.fish_service.service;

import com.eat.common_utils.R;
import com.eat.fish_service.entity.Dao.FishEncyclopedia;
import com.baomidou.mybatisplus.extension.service.IService;
import com.eat.fish_service.entity.FishQuery;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.multipart.MultipartFile;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author CZF
 * @since 2022-04-29
 */
public interface FishEncyclopediaService extends IService<FishEncyclopedia> {

    R addFishBaiKePic(MultipartFile pic);

    R addFishBaiKe(String fishName, String introduction,
                   String fishImg,  String author);

    R pageFishBaiKeCondition(Long current, Long size, FishQuery fishQuery);

    R getFishBaiKe(String fishId);


    R getAllFish();

}
